<%= error_messages_for(@customization) %>
<%= javascript_include_tag'jquery', 'application'%>
<h1>Best Fit Form</h1>
<div class= "content">
    <%= form_for(:customization, :url => {:action => "best_fit_create", :template => "best_fit"}, 
                                                        :html => {:multipart => true}) do |f| %>
                <b>Server Name:</b>
                <%= f.text_field(:name)%>
                <br />
                <br />
                <b>Server Model: </b>
                <%= f.text_field(:model) %>
                <br />
                <br />
                <br />
                <div class= "form-buttons">
                   <b><%= f.submit("Start Search") %><b>
                </div>
    <% end %>
</div>
<br />
<%= render(:partial => "shared/upload")%>
<td>
<td>
    <%= render(:partial => "best_fit_results" )%>
</td>
<br />
<%= link_to("Back to Storage", {:controller => "customizations", 
                                    :action => "index"}, :class => "back-link")%>
<br />
<br />
<%= debug(@customizations) %>
<br />
<%= debug(@customization) %>
<br />
<br />
<%= params.inspect %>